package com.example.micro_property_springboot.exce;

import lombok.Data;

@Data
public class BizException extends RuntimeException{
    private Integer code;
    private String message;
    public BizException(Integer code, String message){
        super(message);
        this.code = code;
        this.message = message;
    }
}